package websocket;


import java.util.ArrayList;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONStringer;

public class MakeJson {
	JSONObject jsonObject;
	public JSONObject MakeLoginJson(String MailAddress, String MD5PassWord)
	{
		jsonObject = new JSONObject();
		
		try {
			jsonObject.put("mailAddress", MailAddress);
			jsonObject.put("password", MD5PassWord);
			jsonObject.put("needToken", "0");
			return jsonObject;
		} catch (JSONException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			return null;
		}
	}
}
